package cate.common.table.activity.newlimitshop.rookie_item;

import cate.common.table.ESheet;
import cate.common.table.activity.newlimitshop.core.NewLimitShopConditionItemRow;

import java.util.List;
import java.util.stream.Collectors;

public class NewLimitShopRookieItemSheet extends ESheet<NewLimitShopConditionItemRow> {
    @Override
    public String getSheetName() {
        return "新手商店物品配置";
    }

    public List<NewLimitShopConditionItemRow> getItems(int group){
        return getList().stream().filter(e -> e.group == group).collect(Collectors.toList());
    }
}
